package org.game.porker.porker24.mybatis.service;

import java.util.List;

import org.game.porker.porker24.mybatis.pojo.Player;

public interface PlayerService {
	//获取前10玩家信息
	List<Player> getTop10Players();
	//添加玩家
	void addNewPlayer(Player player);
	//玩家登陆
	Player playerLogin(String user, String password);
	//创建游戏并更新玩家分数
	void insertGameAndUpdateScore(int playerId, int score);
}
